package com.opentae.data.mall.examples;

import com.opentae.core.mybatis.SgExample;
import com.opentae.core.mybatis.example.EntityColumn;
import com.opentae.core.mybatis.example.EntityTable;
import com.opentae.core.mybatis.mapperhelper.EntityHelper;
import com.opentae.data.mall.beans.MoAgentCash;

import java.util.*;
public class MoAgentCashExample extends SgExample<MoAgentCashExample.Criteria> {
    public static final Class<MoAgentCash> beanClass = MoAgentCash.class;
    public static final EntityTable entityTable = EntityHelper.getEntityTable(beanClass);
    public static EntityColumn accountBank;
    public static EntityColumn cashId;
    public static EntityColumn agentId;
    public static EntityColumn accounter;
    public static EntityColumn accountCardNo;
    public static EntityColumn money;
    public static EntityColumn cashTime;
    public static EntityColumn status;
    static {
        Set<EntityColumn> columns = entityTable.getEntityClassColumns();
        Map<String, EntityColumn> listMap = new HashMap<>();
        for (EntityColumn column : columns) {
            listMap.put(column.getProperty(), column);
        }
        accountBank = listMap.get("accountBank");
        cashId = listMap.get("cashId");
        agentId = listMap.get("agentId");
        accounter = listMap.get("accounter");
        accountCardNo = listMap.get("accountCardNo");
        money = listMap.get("money");
        cashTime = listMap.get("cashTime");
        status = listMap.get("status");
        }

    public MoAgentCashExample() {
        this.setTableAlias(entityTable.getName());
    }

    @Override
    public EntityTable getEntityTable() {
        return entityTable;
    }

    @Override
    protected MoAgentCashExample.Criteria createCriteriaInternal() {
        return new MoAgentCashExample.Criteria(this);
    }

    public static class Criteria extends SgExample.GeneratedCriteria<Criteria> {
        protected Criteria(SgExample example) {
            super(example);
        }

        public MoAgentCashExample.Criteria andAccountBankIsNull() {
            return isNull(accountBank);
        }

        public MoAgentCashExample.Criteria andAccountBankIsNotNull() {
            return isNotNull(accountBank);
        }

        public MoAgentCashExample.Criteria andAccountBankEqualTo(String value) {
            return equalTo(accountBank, value);
        }

        public MoAgentCashExample.Criteria andAccountBankNotEqualTo(String value) {
            return notEqualTo(accountBank, value);
        }

        public MoAgentCashExample.Criteria andAccountBankGreaterThan(String value) {
            return greaterThan(accountBank, value);
        }

        public MoAgentCashExample.Criteria andAccountBankGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(accountBank, value);
        }

        public MoAgentCashExample.Criteria andAccountBankLessThan(String value) {
            return lessThan(accountBank, value);
        }

        public MoAgentCashExample.Criteria andAccountBankLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(accountBank, value);
        }

        public MoAgentCashExample.Criteria andAccountBankLike(String value) {
            return like(accountBank, value);
        }

        public MoAgentCashExample.Criteria andAccountBankNotLike(String value) {
            return notLike(accountBank, value);
        }

        public MoAgentCashExample.Criteria andAccountBankIn(List<String> values) {
            return in(accountBank, values);
        }

        public MoAgentCashExample.Criteria andAccountBankNotIn(List<String> values) {
            return notIn(accountBank, values);
        }

        public MoAgentCashExample.Criteria andAccountBankBetween(String value1, String value2) {
            return between(accountBank, value1, value2);
        }

        public MoAgentCashExample.Criteria andAccountBankNotBetween(String value1, String value2) {
            return notBetween(accountBank, value1, value2);
        }
        public MoAgentCashExample.Criteria andCashIdIsNull() {
            return isNull(cashId);
        }

        public MoAgentCashExample.Criteria andCashIdIsNotNull() {
            return isNotNull(cashId);
        }

        public MoAgentCashExample.Criteria andCashIdEqualTo(Long value) {
            return equalTo(cashId, value);
        }

        public MoAgentCashExample.Criteria andCashIdNotEqualTo(Long value) {
            return notEqualTo(cashId, value);
        }

        public MoAgentCashExample.Criteria andCashIdGreaterThan(Long value) {
            return greaterThan(cashId, value);
        }

        public MoAgentCashExample.Criteria andCashIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(cashId, value);
        }

        public MoAgentCashExample.Criteria andCashIdLessThan(Long value) {
            return lessThan(cashId, value);
        }

        public MoAgentCashExample.Criteria andCashIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(cashId, value);
        }

        public MoAgentCashExample.Criteria andCashIdIn(List<Long> values) {
            return in(cashId, values);
        }

        public MoAgentCashExample.Criteria andCashIdNotIn(List<Long> values) {
            return notIn(cashId, values);
        }

        public MoAgentCashExample.Criteria andCashIdBetween(Long value1, Long value2) {
            return between(cashId, value1, value2);
        }

        public MoAgentCashExample.Criteria andCashIdNotBetween(Long value1, Long value2) {
            return notBetween(cashId, value1, value2);
        }
        public MoAgentCashExample.Criteria andAgentIdIsNull() {
            return isNull(agentId);
        }

        public MoAgentCashExample.Criteria andAgentIdIsNotNull() {
            return isNotNull(agentId);
        }

        public MoAgentCashExample.Criteria andAgentIdEqualTo(Long value) {
            return equalTo(agentId, value);
        }

        public MoAgentCashExample.Criteria andAgentIdNotEqualTo(Long value) {
            return notEqualTo(agentId, value);
        }

        public MoAgentCashExample.Criteria andAgentIdGreaterThan(Long value) {
            return greaterThan(agentId, value);
        }

        public MoAgentCashExample.Criteria andAgentIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(agentId, value);
        }

        public MoAgentCashExample.Criteria andAgentIdLessThan(Long value) {
            return lessThan(agentId, value);
        }

        public MoAgentCashExample.Criteria andAgentIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(agentId, value);
        }

        public MoAgentCashExample.Criteria andAgentIdIn(List<Long> values) {
            return in(agentId, values);
        }

        public MoAgentCashExample.Criteria andAgentIdNotIn(List<Long> values) {
            return notIn(agentId, values);
        }

        public MoAgentCashExample.Criteria andAgentIdBetween(Long value1, Long value2) {
            return between(agentId, value1, value2);
        }

        public MoAgentCashExample.Criteria andAgentIdNotBetween(Long value1, Long value2) {
            return notBetween(agentId, value1, value2);
        }
        public MoAgentCashExample.Criteria andAccounterIsNull() {
            return isNull(accounter);
        }

        public MoAgentCashExample.Criteria andAccounterIsNotNull() {
            return isNotNull(accounter);
        }

        public MoAgentCashExample.Criteria andAccounterEqualTo(String value) {
            return equalTo(accounter, value);
        }

        public MoAgentCashExample.Criteria andAccounterNotEqualTo(String value) {
            return notEqualTo(accounter, value);
        }

        public MoAgentCashExample.Criteria andAccounterGreaterThan(String value) {
            return greaterThan(accounter, value);
        }

        public MoAgentCashExample.Criteria andAccounterGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(accounter, value);
        }

        public MoAgentCashExample.Criteria andAccounterLessThan(String value) {
            return lessThan(accounter, value);
        }

        public MoAgentCashExample.Criteria andAccounterLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(accounter, value);
        }

        public MoAgentCashExample.Criteria andAccounterLike(String value) {
            return like(accounter, value);
        }

        public MoAgentCashExample.Criteria andAccounterNotLike(String value) {
            return notLike(accounter, value);
        }

        public MoAgentCashExample.Criteria andAccounterIn(List<String> values) {
            return in(accounter, values);
        }

        public MoAgentCashExample.Criteria andAccounterNotIn(List<String> values) {
            return notIn(accounter, values);
        }

        public MoAgentCashExample.Criteria andAccounterBetween(String value1, String value2) {
            return between(accounter, value1, value2);
        }

        public MoAgentCashExample.Criteria andAccounterNotBetween(String value1, String value2) {
            return notBetween(accounter, value1, value2);
        }
        public MoAgentCashExample.Criteria andAccountCardNoIsNull() {
            return isNull(accountCardNo);
        }

        public MoAgentCashExample.Criteria andAccountCardNoIsNotNull() {
            return isNotNull(accountCardNo);
        }

        public MoAgentCashExample.Criteria andAccountCardNoEqualTo(String value) {
            return equalTo(accountCardNo, value);
        }

        public MoAgentCashExample.Criteria andAccountCardNoNotEqualTo(String value) {
            return notEqualTo(accountCardNo, value);
        }

        public MoAgentCashExample.Criteria andAccountCardNoGreaterThan(String value) {
            return greaterThan(accountCardNo, value);
        }

        public MoAgentCashExample.Criteria andAccountCardNoGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(accountCardNo, value);
        }

        public MoAgentCashExample.Criteria andAccountCardNoLessThan(String value) {
            return lessThan(accountCardNo, value);
        }

        public MoAgentCashExample.Criteria andAccountCardNoLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(accountCardNo, value);
        }

        public MoAgentCashExample.Criteria andAccountCardNoLike(String value) {
            return like(accountCardNo, value);
        }

        public MoAgentCashExample.Criteria andAccountCardNoNotLike(String value) {
            return notLike(accountCardNo, value);
        }

        public MoAgentCashExample.Criteria andAccountCardNoIn(List<String> values) {
            return in(accountCardNo, values);
        }

        public MoAgentCashExample.Criteria andAccountCardNoNotIn(List<String> values) {
            return notIn(accountCardNo, values);
        }

        public MoAgentCashExample.Criteria andAccountCardNoBetween(String value1, String value2) {
            return between(accountCardNo, value1, value2);
        }

        public MoAgentCashExample.Criteria andAccountCardNoNotBetween(String value1, String value2) {
            return notBetween(accountCardNo, value1, value2);
        }
        public MoAgentCashExample.Criteria andMoneyIsNull() {
            return isNull(money);
        }

        public MoAgentCashExample.Criteria andMoneyIsNotNull() {
            return isNotNull(money);
        }

        public MoAgentCashExample.Criteria andMoneyEqualTo(String value) {
            return equalTo(money, value);
        }

        public MoAgentCashExample.Criteria andMoneyNotEqualTo(String value) {
            return notEqualTo(money, value);
        }

        public MoAgentCashExample.Criteria andMoneyGreaterThan(String value) {
            return greaterThan(money, value);
        }

        public MoAgentCashExample.Criteria andMoneyGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(money, value);
        }

        public MoAgentCashExample.Criteria andMoneyLessThan(String value) {
            return lessThan(money, value);
        }

        public MoAgentCashExample.Criteria andMoneyLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(money, value);
        }

        public MoAgentCashExample.Criteria andMoneyLike(String value) {
            return like(money, value);
        }

        public MoAgentCashExample.Criteria andMoneyNotLike(String value) {
            return notLike(money, value);
        }

        public MoAgentCashExample.Criteria andMoneyIn(List<String> values) {
            return in(money, values);
        }

        public MoAgentCashExample.Criteria andMoneyNotIn(List<String> values) {
            return notIn(money, values);
        }

        public MoAgentCashExample.Criteria andMoneyBetween(String value1, String value2) {
            return between(money, value1, value2);
        }

        public MoAgentCashExample.Criteria andMoneyNotBetween(String value1, String value2) {
            return notBetween(money, value1, value2);
        }
        public MoAgentCashExample.Criteria andCashTimeIsNull() {
            return isNull(cashTime);
        }

        public MoAgentCashExample.Criteria andCashTimeIsNotNull() {
            return isNotNull(cashTime);
        }

        public MoAgentCashExample.Criteria andCashTimeEqualTo(Date value) {
            return equalTo(cashTime, value);
        }

        public MoAgentCashExample.Criteria andCashTimeNotEqualTo(Date value) {
            return notEqualTo(cashTime, value);
        }

        public MoAgentCashExample.Criteria andCashTimeGreaterThan(Date value) {
            return greaterThan(cashTime, value);
        }

        public MoAgentCashExample.Criteria andCashTimeGreaterThanOrEqualTo(Date value) {
            return greaterThanOrEqualTo(cashTime, value);
        }

        public MoAgentCashExample.Criteria andCashTimeLessThan(Date value) {
            return lessThan(cashTime, value);
        }

        public MoAgentCashExample.Criteria andCashTimeLessThanOrEqualTo(Date value) {
            return lessThanOrEqualTo(cashTime, value);
        }

        public MoAgentCashExample.Criteria andCashTimeIn(List<Date> values) {
            return in(cashTime, values);
        }

        public MoAgentCashExample.Criteria andCashTimeNotIn(List<Date> values) {
            return notIn(cashTime, values);
        }

        public MoAgentCashExample.Criteria andCashTimeBetween(Date value1, Date value2) {
            return between(cashTime, value1, value2);
        }

        public MoAgentCashExample.Criteria andCashTimeNotBetween(Date value1, Date value2) {
            return notBetween(cashTime, value1, value2);
        }
        public MoAgentCashExample.Criteria andStatusIsNull() {
            return isNull(status);
        }

        public MoAgentCashExample.Criteria andStatusIsNotNull() {
            return isNotNull(status);
        }

        public MoAgentCashExample.Criteria andStatusEqualTo(Integer value) {
            return equalTo(status, value);
        }

        public MoAgentCashExample.Criteria andStatusNotEqualTo(Integer value) {
            return notEqualTo(status, value);
        }

        public MoAgentCashExample.Criteria andStatusGreaterThan(Integer value) {
            return greaterThan(status, value);
        }

        public MoAgentCashExample.Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            return greaterThanOrEqualTo(status, value);
        }

        public MoAgentCashExample.Criteria andStatusLessThan(Integer value) {
            return lessThan(status, value);
        }

        public MoAgentCashExample.Criteria andStatusLessThanOrEqualTo(Integer value) {
            return lessThanOrEqualTo(status, value);
        }

        public MoAgentCashExample.Criteria andStatusIn(List<Integer> values) {
            return in(status, values);
        }

        public MoAgentCashExample.Criteria andStatusNotIn(List<Integer> values) {
            return notIn(status, values);
        }

        public MoAgentCashExample.Criteria andStatusBetween(Integer value1, Integer value2) {
            return between(status, value1, value2);
        }

        public MoAgentCashExample.Criteria andStatusNotBetween(Integer value1, Integer value2) {
            return notBetween(status, value1, value2);
        }
    }
}